<template>
  <div id="app">
    <TopNav></TopNav>
    <Play></Play>
    <div :style="{paddingTop:$route.meta.showNav ? '40px' : '' }"></div>
    <transition
      enter-active-class=""
      leave-active-class="animate__animated animate__fadeOut"
    >
    <router-view></router-view>
    </transition>
    <div :style="{paddingBottom:$root.musicStore.musicID ? '70px' : '' }"></div>
  </div>
</template>

<script>
import TopNav from '@/components/TopNav'
import Play from '@/components/Play'
export default {
  name: 'App',
  data(){
    return {
    }
  },
  components:{
    TopNav,
    Play
  },
  methods:{
    addIsLogin(){
      console.log("做预加载数据");
    }
  },
}
</script>

<style lang="less">
*{
  margin: 0;
  padding: 0;
  user-select: none;
}
.result{
  ul{
    li{
      span.highlight{
        color: #507daf;
      }
    }
  }
}
</style>
